//
//  AVDClientBufferSocketManager.h
//  
//
//  Created by zqj on 2020/09/11.
//  Copyright © 2020 zqj. All rights reserved.
//
#import <ReplayKit/ReplayKit.h>
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface AVDSampleHandlerSocketManager : NSObject

/**
 初始化屏幕共享流发送端
 @return AVDSampleHandlerSocketManager *
 */
+ (AVDSampleHandlerSocketManager *)sharedManager;

/**
 启动socket
 */
- (void)setUpSocket;


/**
 停止socket
 */
- (void)socketDelloc;


/**
 发送屏幕共享流数据
 @param sampleBuffer sampleBuffer
 */
- (void)sendVideoBufferToHostApp2:(CMSampleBufferRef)sampleBuffer;

@end

NS_ASSUME_NONNULL_END
